<template>
  <div class="boxx">
    <div class="special_top">
      <p class="router-link-active">
        <i class="van-icon van-icon-arrow-left" @click="adds"></i>
      </p>
      <p>详情专栏</p>
      <p></p>
    </div>
    <p class="ps">{{ detail.title }}</p>
    <img :src="detail.pic" alt="" />
    <p class="ppl">{{ detail.descript }}</p>
  </div>
</template>

<script>
import { getwen } from "@/utils/api/home.js";

export default {
  data() {
    return {
      detail: this.$route.query.obj,
    };
  },
  mounted() {
    getwen().then((res) => {
      console.log(res);
      // this.list = res.data.data.goodsMap;
    });
  },
  methods: {
    adds() {
      this.$router.go(-1);
    },
  },
};
</script>

<style lang='scss'>
* {
  margin: 0;
  padding: 0;
}
.special_top {
  width: 100%;
  height: 0.7rem;
  background: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0 0.15rem;
  position: fixed;
  left: 0;
  top: 10;
  z-index: 100;
}
.special_top > p:nth-of-type(1) {
  font-size: 0.3rem;
}
.van-icon {
  position: relative;
  display: inline-block;
  font: normal normal normal 14px/1 vant-icon;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.special_top > p:nth-of-type(2) {
  font-size: 0.34rem;
}

.boxx {
  width: 100%;
  text-align: center;
}
.ps {
  font-size: 25px;
}
img {
  width: 100%;
}
.ppl {
  font-size: 20px;
}
</style>
